 #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

#define PI 3.14

int main() {
    int r;
    float area, sum = 0;
    for (r = 1; r <= 10; r++) 
    {
        area = PI * r * r;
        if (area < 50) 
        {
            printf("area=%.2f\n", area);
            sum += area;
        }
        else 
        {
            break;
        }
    }

    printf("sum=%.2f\n", sum);

    return 0;
}

